package com.e3.basdoc.goods.client;

import java.util.List;

import com.e3.basdoc.goods.model.GoodsModel;
import com.e3.basdoc.goods.model.GoodsQC;
import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface GoodsRPCServiceAsync {

	void newGoods(GoodsModel model, AsyncCallback<GoodsModel> callback);

	void modifyGoods(GoodsModel model,AsyncCallback<GoodsModel> callback);

	void getGoodsByCondition(GoodsQC currencyQC,AsyncCallback<List<GoodsModel>> callback);

	void deleteGoodss(List<GoodsModel> models, AsyncCallback<Void> callback);

	void getPagingGoods(PagingLoadConfig config,AsyncCallback<PagingLoadResult<GoodsModel>> callback);

}
